/*
 * CardRecordMapper.java
 * Copyright(C) 20xx-2015 xxxxxx��˾
 * All rights reserved.
 * -----------------------------------------------
 * 2017-04-11 Created
 */
package cn.ssms.dao;

import java.util.List;

import cn.ssms.model.CardRecord;

public interface CardRecordMapper {
 /*   int deleteByPrimaryKey(String cardrecordid);

    int insert(CardRecord record);

    int insertSelective(CardRecord record);

    CardRecord selectByPrimaryKey(String cardrecordid);

    int updateByPrimaryKeySelective(CardRecord record);

    int updateByPrimaryKey(CardRecord record);*/

	void insertCardRecord(CardRecord cardRecord);

	List<CardRecord> getCardRecordByUserId(String userid);

	void updateCardStatus(String cardrecordid);

	CardRecord getCardRecordById(String cardrecordid);
}